//
//  UIView+Gesture.h
//  hcpro
//
//  Created by 戴旭 on 16/9/15.
//  Copyright © 2016年 hucai.com. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Gesture)

/**
 Attaches the given block for a single tap action to the receiver.
 @param block The block to execute.
 */
- (void)setTapActionWithBlock:(void (^)(void))block;

/**
 Attaches the given block for a long press action to the receiver.
 @param block The block to execute.
 */
- (void)setLongPressActionWithBlock:(void (^)(void))block;

@end
